package refactor.extractsubclass.result;

public class JobItemClient {
    public int clientMethodForLabor() {
        Employee kent = new Employee(2);
        JobItem jobItem = new LaborItem(5, kent);
        return jobItem.calcTotalPrice();
    }

    public int clientMethodForNotLabor() {
        JobItem jobItem = new JobItem(1, 5);
        return jobItem.calcTotalPrice();
    }
}
